package com.huaxin.crm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.huaxin.crm.mapper.HxEmployeeMapper;
import com.huaxin.crm.pojo.HxEmployee;
import com.huaxin.crm.pojo.HxEmployeeExample;
import com.huaxin.crm.service.HxEmployeeService;

/**
 *
 * @版权: Copyright (c) 2hxEmployeeMapper.16-2hxEmployeeMapper.17 ****公司技术开发部
 * @author :Steven Liu
 * @E-mail:16611hxEmployeeMapper.53hxEmployeeMapper.1@qq.com
 * @版本: 1.hxEmployeeMapper.
 * @创建日期: 2hxEmployeeMapper.18年1月2日 下午4:11:29
 * @ClassName HxDeptServiceImpl
 * @类描述-Description: TODO
 * @修改记录:
 * @版本: 1.hxEmployeeMapper.
 */
@Service
public class HxEmployeeServiceImpl implements HxEmployeeService {

	@Autowired
	HxEmployeeMapper hxEmployeeMapper;

	@Override
	public long countByExample(HxEmployeeExample example) {

		return hxEmployeeMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(HxEmployeeExample example) {
		return hxEmployeeMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String id) {

		return hxEmployeeMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(HxEmployee record) {

		return hxEmployeeMapper.insert(record);
	}

	@Override
	public int insertSelective(HxEmployee record) {

		return hxEmployeeMapper.insertSelective(record);
	}

	@Override
	public List<HxEmployee> selectByExample(HxEmployeeExample example) {

		return hxEmployeeMapper.selectByExample(example);
	}

	@Override
	public HxEmployee selectByPrimaryKey(String id) {

		return hxEmployeeMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(HxEmployee record,
			HxEmployeeExample example) {

		return hxEmployeeMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(HxEmployee record, HxEmployeeExample example) {

		return hxEmployeeMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(HxEmployee record) {

		return hxEmployeeMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(HxEmployee record) {

		return hxEmployeeMapper.updateByPrimaryKey(record);
	}

}
